package com.dao.lx;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.entity.Notelist;
import com.entity.Repairorder;

public interface NotelistDAO extends CrudRepository<Notelist, Long>{
	@Query("from Notelist n where n.repairorder like ?1 and n.notelistIfdelete = 1")
	public List<Notelist> queryByRepairorder(Repairorder repairorder);
}